Type Alias: UseAuthReturn
UseAuthReturn:
object
Type declaration
authorize()
authorize: (
params
?) =>Promise
<void
>
Constructs the url and redirects to the Monerium auth flow.
Parameters
• params?: AuthorizeParams
Returns
Promise
<void
>
disconnect()
disconnect: () =>
Promise
<void
>
Returns
Promise
<void
>
error
error:
unknown
isAuthorized
isAuthorized:
boolean
Indicates whether the SDK is authorized.
isLoading
isLoading:
boolean
Indicates whether the SDK authorization is loading.
revokeAccess()
revokeAccess: () =>
Promise
<void
>
Returns
Promise
<void
>